package cn.com.dycc.common.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4963712063772630979L;
	private String state;
	private String org_id;//组织机构ID
	private String opt_user_id;//创建人
	private String opt_user_name;//创建人名称
	private Timestamp create_date;//创建时间
	
	
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getOrg_id() {
		return org_id;
	}
	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}
	public String getOpt_user_id() {
		return opt_user_id;
	}
	public void setOpt_user_id(String opt_user_id) {
		this.opt_user_id = opt_user_id;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	public Timestamp getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}
	
	public String getOpt_user_name() {
		return opt_user_name;
	}
	public void setOpt_user_name(String opt_user_name) {
		this.opt_user_name = opt_user_name;
	}
	
	public String toString() {
		return "BaseEntity [state=" + state + ", org_id=" + org_id + ", opt_user_id=" + opt_user_id + ", opt_user_name="
				+ opt_user_name + ", create_date=" + create_date + "]";
	}
	
	

}
